/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ParTreeVisualizer;

import java.awt.Graphics;
import java.awt.Graphics2D;
import javax.swing.JPanel;

/**
 *
 * @author mwh
 */
public class PrintedPanel extends JPanel {

    String fn;


    public PrintedPanel(String fn) {
        this.fn = fn;


    }


    @Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);

        Graphics2D g2 = (Graphics2D) g;

        g2.drawString("Graph was printed to: " + fn, 30, 30);

    }
}
